[Control] AuthorName=Robert Sheahan CompanyName=Prolink DateCreated=12/16/99 Description=Mitutoyo DMX-2 BaudRate=9600 Parity=0 BitsPerByte=8 StopBits=1 FlowControl=0 NoOfChannels=2 Port=COM1 Phone=860.659.5928 E-Mail=Prolink@ProlinkSoftware.com GetString={Var,Channel}{cr} DelayTime= InitString= Parse=6 ParseLines 1=*{SetVar,MoveWarn,} {SetVar,ErrNum,}~{MoveAbs,2} {StartRead} {Stop* ParseLines 2=*Read} {ReadVar,Channel} ~{MoveFirst} {StartRead} {StopRead} {Rea* ParseLines 3=*dVar,Actual}~{if,{Compare,#=,{var,Actual},9}, ~ {SetVar,ErrNum,* ParseLines 4=*6}~, ~ {MoveAbs,4} {StartRead} {MoveAbs,12} {StopRead} {ReadVar* ParseLines 5=*,Actual}~ {If,{Var,MoveWarn}, {SetVar,Action,1},{SetVar,Action,* ParseLines 6=*0}}~}* Notes=5 NoteLines 1=*Use a straight cable with a 25 pin male connector on the DMX end.* NoteLines 2=* Default is 9600 baud, set lower rate if not using a 16550 serie* NoteLines 3=*s UART in the serial port. The DMX can use hardware handshaking b* NoteLines 4=*ut that requires a cable that passes hardware handshaking lines, * NoteLines 5=*so this script defaults to no handshaking.*